package com.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ApplicationMain {

	public static void main(String[] args) {

		SpringApplication application = new SpringApplication(ApplicationMain.class);
		// 注册EventListener，也可以通过注解注册@component
		// application.addListeners(new ApplicationReadyListener());
		// application.addListeners(new WebApplicationStartedEventListener());
		application.run(args);

	}

}
